﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SistemasBuenosAires.Website.Site
{
    public partial class Site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }

        public System.Web.UI.WebControls.Button GetButton(String controlID)
        {
            var emptyButton = new Button();
            switch (controlID)
            {
                case "Home":
                    return this.ButtonHome;
                    break;
                case "ServicesHome":
                    return this.ButtonServices;
                    break;
                case "Offers":
                    return this.ButtonOffers;
                    break;
                case "Company":
                    return this.ButtonCompany;
                    break;
                case "Travel":
                    return this.ButtonTravel;
                    break;
                case "Clients":
                    return this.ButtonClients;
                    break;
                case "Contact":
                    return this.ButtonContact;
                    break;
                default:
                    return emptyButton;

            }
        }

        protected void ButtonClients_Click(object sender, EventArgs e)
        {
            ModalPopupExtenderMessage.Show();
        }
    }
}